import request from '@/utils/request'

export default {
    //查询所有订单
    getAllOrders(current,page,orderQuery){
        return request({
            url: '/eduorder/order/getAllOrders/'+current+'/'+page,
            method: 'post',
            data: orderQuery
        })
    },
    removeOrderById(id){
        return request({
            url: '/eduorder/order/removeOrderById/'+id,
            method: 'get'
        })
    }

}